package com.webside.front.common.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.webside.front.common.mapper.BVideoMapper;
import com.webside.front.common.model.BVideo;
import com.webside.front.common.service.BVideoService;
@Service("bVideoService")
public class BVideoServiceImpl implements BVideoService {
	@Autowired
	BVideoMapper bVideoMapper;
	
	public List<BVideo> selectBVideoByCondition(Map<String, Object> condition) {
		
		return bVideoMapper.selectBVideoByCondition(condition);
	}

	@Override
	public int selectVideosCountByCondition(Map<String, Object> condition) {
		// TODO Auto-generated method stub
		return bVideoMapper.selectVideosCountByCondition(condition);
	}
}
